1
general::
Phrase(s): rack one’s brain(s)
Fig. to try very hard to think of something. • I racked my brains all afternoon, but couldn’t remember where I put the book. • Don’t waste any more time racking your brain. Go borrow the book from the library.
McGrawhill's American Idioms And Phrasal Verbs